package com.pwc.conversionTool.Manager;



import com.pwc.conversionTool.soapUI.SoapUIClient;

public class SoapUIManager {
	
	private static SoapUIClient client=null; 
	
	private static String url=null;
	
	
	private SoapUIManager()
	{
		
	}

	
	public static void settingEndpoint(String url){
		if(!url.equals(SoapUIManager.url))
		{
			SoapUIManager.url=url;
			client=new SoapUIClient();
			client.initialProject(SoapUIManager.url);
		}
	}
	
	public static boolean isInitial()
	{
		return client!=null;
	}
	
	public static SoapUIClient getSoapUIClient()
	{
		return client;
	}
	
	public static String getUrl()
	{
		return url;
	}
	
	
}
